package com.samp.bblock.test.dao;


import com.samp.bblock.core.base.BaseDAO;
import com.samp.bblock.core.exception.DaoException;
import com.samp.bblock.test.dto.ConfigInfoDTO;

public interface ConfigInfoDAO extends BaseDAO {
	
	/**
	 * 查询配置信息，只返回一条记录。
	 * @param type
	 * @return
	 * @throws DaoException
	 */
	public ConfigInfoDTO queryConfigInfo(ConfigInfoDTO configInfoDTO) throws DaoException;
	
	/**
	 * 保存配置信息
	 * @param configInfoDTO
	 * @throws DaoException
	 */
	public void insertConfigInfo(ConfigInfoDTO configInfoDTO) throws DaoException;
	
}
